package com.qx.pethome.entity;

import java.util.Date;

public class Detail {

    public static final Integer S_SIZE_SAMLL=0;//体型（3种）0是小型
    public static final Integer S_SIZE_MEDIUM=1;//体型（3种）1是中型
    public static final Integer S_SIZE_BIG=2;//体型（3种）2是大型
    private Integer dId;//宠物详情编号
    private String  dName;//学名
    private String  dOrigin;//起源地
    private String  dCharacter;//性格
    private Integer dSize;//体型（3种）0是小型，1是中型，2是大型
    private Date    dLife;//平均寿命，年月
    private String  dDisease;//易患疾病
    private String  dImg;//图片链接
    private Integer vId;//宠物种类编号

    public Detail() {
    }

    public Detail(String dName, String dOrigin, String dCharacter, Integer dSize, Date dLife, String dDisease, String dImg, Integer vId) {
        this.dName = dName;
        this.dOrigin = dOrigin;
        this.dCharacter = dCharacter;
        this.dSize = dSize;
        this.dLife = dLife;
        this.dDisease = dDisease;
        this.dImg = dImg;
        this.vId = vId;
    }

    public Detail(Integer dId, String dName, String dOrigin, String dCharacter, Integer dSize, Date dLife, String dDisease, String dImg, Integer vId) {
        this.dId = dId;
        this.dName = dName;
        this.dOrigin = dOrigin;
        this.dCharacter = dCharacter;
        this.dSize = dSize;
        this.dLife = dLife;
        this.dDisease = dDisease;
        this.dImg = dImg;
        this.vId = vId;
    }

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getdOrigin() {
        return dOrigin;
    }

    public void setdOrigin(String dOrigin) {
        this.dOrigin = dOrigin;
    }

    public String getdCharacter() {
        return dCharacter;
    }

    public void setdCharacter(String dCharacter) {
        this.dCharacter = dCharacter;
    }

    public Integer getdSize() {
        return dSize;
    }

    public void setdSize(Integer dSize) {
        this.dSize = dSize;
    }

    public Date getdLife() {
        return dLife;
    }

    public void setdLife(Date dLife) {
        this.dLife = dLife;
    }

    public String getdDisease() {
        return dDisease;
    }

    public void setdDisease(String dDisease) {
        this.dDisease = dDisease;
    }

    public String getdImg() {
        return dImg;
    }

    public void setdImg(String dImg) {
        this.dImg = dImg;
    }

    public Integer getvId() {
        return vId;
    }

    public void setvId(Integer vId) {
        this.vId = vId;
    }

    @Override
    public String toString() {
        return "宠物详情表{" +
                "宠物详情编号=" + dId +
                ", 学名='" + dName + '\'' +
                ", 起源地='" + dOrigin + '\'' +
                ", 性格='" + dCharacter + '\'' +
                ", 体型=" + dSize +
                ", 平均寿命=" + dLife +
                ", 易患疾病='" + dDisease + '\'' +
                ", 图片链接='" + dImg + '\'' +
                ", 宠物种类编号=" + vId +
                '}';
    }
}
